package com.lagou.common.util;

import lombok.Data;

@Data
public class RpcService {
    private String id;
    private String hostname;
    private int port;
    private long responseTime;

    public RpcService(String id, String hostname, int port, long responseTime) {
        this.id = id;
        this.hostname = hostname;
        this.port = port;
        this.responseTime = responseTime;
    }
}
